package com.xzx.spark.core.simulation

/**
 *
 * ${DESCRIPTION}
 *
 * @author xinzhixuan
 * @version 1.0
 * @date 2021-12-25 2:00 PM
 */
class RDD {

  /**
   * RDD中的数据
   */
  val data = List(1, 2, 3, 4)

  /**
   * 计算逻辑
   */
  val logic: Int => Int = _ * 2

}
